using System.Collections.Generic;

public static class LanguageExtensions
{
	public static bool In<T>(this T source, params T[] list)
	{
		return (list as IList<T>).Contains(source);
	}		
	
	public static bool IsEmpty(this string source)
	{
		return string.IsNullOrEmpty(source);
	}		
}
